package com.study.mike.spring.sample.aop;

import org.springframework.aop.AfterReturningAdvice;

import java.lang.reflect.Method;

/**
 * <p>
 *
 * @author: yuanwl
 * @date: 2021/2/13 17:49
 */
public class MyAfterReturningAdvice implements AfterReturningAdvice {
    @Override
    public void afterReturning(Object ret, Method method, Object[] objects, Object target) throws Throwable {
        System.out.println(">> MyAfterReturningAdvice#afterReturning 增强: target=" + target + ", method=" + method + ", ret=" + ret);
    }
}
